package boot.spring.entity;

import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


public class Role {
	private String rid;
	private String rname;
	private String rolekey;
	private  List<Module> mList;
	private  List<Permission> pList;

	public List<Permission> getpList() {
		return pList;
	}

	public void setpList(List<Permission> pList) {
		this.pList = pList;
	}

	public List<Module> getmList() {
		return mList;
	}

	public void setmList(List<Module> mList) {
		this.mList = mList;
	}



	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}

	public String getRolekey() {
		return rolekey;
	}

	public void setRolekey(String rolekey) {
		this.rolekey = rolekey;
	}

	public String getRid() {
		return rid;
	}

	public void setRid(String rid) {
		this.rid = rid;
	}

	public Role(String rid, String rname, String rolekey, List<Module> mList, List<Permission> pList) {
		this.rid = rid;
		this.rname = rname;
		this.rolekey = rolekey;
		this.mList = mList;
		this.pList = pList;
	}

	public Role() {
		super();
	}
	
	
	
}